﻿<UserControl x:Class="GIMS.GUI.ArgumentControls.PathArgumentControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             mc:Ignorable="d"
             MinWidth="250">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="Auto" />
        </Grid.ColumnDefinitions>
        <TextBlock Grid.Column="0" VerticalAlignment="Center" Margin="3">Path:</TextBlock>
        <TextBox Grid.Column="1" Margin="3" IsEnabled="False" Text="{Binding Path=PathArgument.Path}"></TextBox>
        <Button Grid.Column="2" x:Name="choosePathButton" Click="choosePathButton_Click" Margin="3" >...</Button>
    </Grid>
</UserControl>
